package spec.shiqilin.clazz.inherit.Car;

    public class Car {

        String type;
        String number;
        String weight;

        String GetInfo() {
            return "这是" + type + ",承重是" + weight + ",车牌号是" + number;
        }

        Car(String type, String weight, String number) {
            this.type = type;
            this.weight = weight;
            this.number = number;
        }
    }



